package com.lin.po;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class Chats extends BasePo{
    public static final String READ_FLAG_UNREAD="0";//未读
    public static final String READ_FLAG_READ="1";//已读
    public static final String READ_FLAG_CANCEL="2"; //撤销
    public static final String READ_FLAG_DELETE="3"; //删除

    public static final String RECIPIENT_FLAG_CUSTOMER="0"; //客户关系
    public static final String RECIPIENT_FLAG_GROUP="1";    //群组

    /**
     * 0：文字 string
     * 1：录音 sound recording
     */
    public static final String CONTENT_TYPE_RECORD="1";//录音
    public static final String CONTENT_TYPE_STRING="0";//文字 string
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_chats.ID
     *
     * @mbg.generated Sat Mar 19 07:10:00 CST 2022
     */
    private Long id;

    /**
     *
     * 客户群编号
     */
    private Long customerGroupId;

    /**
     *
     * 发出者
     */
    private Long sender;

    /**
     *
     *接收者
     */
    private Long recipient;

    /**
     * 0：文字 string
     * 1：录音 sound recording
     */
    private String contentType;
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_chats.CONTENT
     *
     * @mbg.generated Sat Mar 19 07:10:00 CST 2022
     */
    private String content;

    private String translateContent;

    /**
     * 文件类型 1：图片，0，非图片
     */
    private String fileType;

    private String fileUrl;

    private String compressUrl;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_chats.READ_FLAG
     *
     * @mbg.generated Sat Mar 19 07:10:00 CST 2022
     */
    private String readFlag;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_chats.RECIPIENT_FLAG
     *
     * @mbg.generated Sat Mar 19 07:10:00 CST 2022
     */
    private String recipientFlag;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_chats.CREATE_ID
     *
     * @mbg.generated Sat Mar 19 07:10:00 CST 2022
     */
    private Long createId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_chats.CREATE_TIME
     *
     * @mbg.generated Sat Mar 19 07:10:00 CST 2022
     */
    private String createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_chats.UPDATE_ID
     *
     * @mbg.generated Sat Mar 19 07:10:00 CST 2022
     */
    private Long updateId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_chats.UPDATE_TIME
     *
     * @mbg.generated Sat Mar 19 07:10:00 CST 2022
     */
    private String updateTime;

}